<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <title>编辑群组分类</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width">
    </head>
    <body>
        <form method="post" id="basic_setting" name="form" action="__URL__/addSubCategory" onsubmit="return checkForm();">
            <table class="tableborder" width="100%">
                <tbody>
                    <tr>
                        <th class="header">主题分类管理</th>
                    </tr>
                    <tr class="cell">
                        <td class="altbg1">
                            <input type='hidden' name='catalog_id' value="{$catalog['catalog_id']}"/>
                            <span class="smalltxt">添加主题分类</span>
                            <input type="text" name="catalog_name" id="title" value="{$catalog['catalog_name']}"></td>
                    </tr>
                    <tr>
                        <td>
                <volist name="categoryLists" id="cata" >
                    <input type="checkbox" name="group_ids[]" value="{$cata['id']}"  <php>if(in_array($cata['id'],$catalog['group_ids'])){ echo ' checked="checked"';}</php>>{$cata['title']} 
                </volist>
                </td>
                </tr>

                <tr>
                    <td class="footer">
                        <input type="submit" class="button"  value="提交" />
                    </td>
                </tr>
                </tbody>
            </table>
        </form>
    </body>
</html>
